* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

.center {
    @media only screen and (min-width:1180px) {
        width: 1180px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (min-width:740px) and (max-width:1179px) {
        width: 740px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (max-width:739px) {
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}

body {

    background-color: #f7f7f7;

    .headerBox {
        margin-bottom: 23px;
        width: 100%;
        height: 78px;
        background-color: #ffffff;

        border-bottom: 2px solid #f2f2f2;

        position: sticky;
        top: 0;

        .header {
            height: 78px;
            background-color: #ffffff;

            display: flex;
            flex-wrap: nowrap;

            .headerLeft {

                display: flex;
                flex-wrap: nowrap;
                margin-right: auto;

                &>:nth-child(1) {
                    width: 222px;
                    height: 78px;
                    background: url(../images/logo.png) no-repeat center center;
                    background-size: cover;
                }

                &>:nth-child(-n+4):not(:nth-child(1)) {

                    white-space: nowrap;
                    margin-left: 50px;
                    height: 78px;
                    line-height: 78px;
                    font-size: 18px;
                    color: #222222;
                }

                &>:nth-child(3) {
                    padding-right: 28px;

                    position: relative;

                    &>a {
                        position: relative;
                        color: #222222;
                    }

                    &>a::after {
                        content: '';
                        display: block;
                        border: 8px solid transparent;
                        border-top-color: #222222;

                        position: absolute;
                        top: 10px;
                        right: -28px;
                    }

                    &:hover {
                        .sub_menu {
                            display: block;
                        }
                    }

                    .sub_menu {
                        position: absolute;
                        top: 70px;
                        left: -50px;
                        z-index: 10;

                        // box-sizing: border-box;
                        width: 400px;
                        height: 320px !important;
                        border: 1px solid #f7f7f7;
                        background-color: #ffffff;

                        // &>::after {
                        //     content: '';
                        //     display: block;
                        //     border: 8px solid transparent;
                        //     border-bottom-color: #ffffff;

                        //     position: absolute;
                        //     top: -16px;
                        //     right: 290px;
                        // }

                        display: none;


                        a {
                            display: block;
                            float: left;
                            box-sizing: border-box;
                            padding: 10px;
                            width: 40%;
                            color: #222222;
                            line-height: 30px;
                            text-align: center;

                            &:hover {
                                color: orange;
                            }
                        }
                    }
                }

            }

            .headerRight {

                display: flex;
                align-items: center;
                margin-right: 10px;

                .userPhone {
                    display: none;
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    background: url(../images/default.png) no-repeat center center;
                    background-size: cover;
                }

                button {
                    margin-left: 12px;
                    width: 90px;
                    height: 40px;
                    font-size: 17px;
                    border: none;
                    border-radius: 2px;

                    &:nth-child(1) {
                        display: block;
                        background-color: #ededed;
                    }

                    &:nth-child(2) {
                        display: block;
                        color: #fff;
                        background-color: #c0a75e;
                    }

                    &:nth-child(3) {
                        display: none;
                    }
                }
            }
        }
    }

    .introduceBox {

        width: 100%;
        // background-color: red;

        .introduce {
            box-sizing: border-box;
            border-bottom: 2px solid #222222;

            padding: 42px 0 70px 0;

            display: flex;

            .information {
                padding: 10px 0;
                width: 75%;
                border-right: 1px solid #dddddd;

                display: flex;

                img {
                    align-self: flex-start;
                    width: 120px;
                    height: 120px;
                    border-radius: 50%;
                }

                .information_text {
                    flex: 1;
                    margin-left: 20px;
                    padding: 20px 0 0 0;

                    display: flex;
                    flex-direction: column;

                    .up {

                        display: flex;

                        h3 {
                            margin-right: auto;
                            font-size: 24px;

                        }

                        a {
                            margin-right: 30px;
                            box-sizing: border-box;
                            width: 50px;
                            height: 50px;
                            // border: 1px solid black;
                            background: url(../images/communicate.png) no-repeat center center;
                            background-size: cover;
                            transition: 0.5s;

                            &:hover {
                                box-shadow: 0 2px 2px 1px #dddddd;
                            }
                        }
                    }

                    .tags {
                        display: flex;

                        margin: 14px 0 10px 0;
                        font-size: 18px;
                        color: #999999;

                        .tags_text {
                            margin-right: 14px;


                            display: flex;

                            span:nth-of-type(2) {
                                margin: 0 10px;

                                position: relative;
                            }

                            span:nth-of-type(2)::before {
                                content: '';
                                display: block;
                                width: 2px;
                                height: 2px;
                                border-radius: 50%;
                                background-color: #999999;

                                position: absolute;
                                top: 50%;
                                left: -6px;
                                transform: translateY(-1px);
                            }

                            span:nth-of-type(2)::after {
                                content: '';
                                display: block;
                                width: 2px;
                                height: 2px;
                                border-radius: 50%;
                                background-color: #999999;

                                position: absolute;
                                top: 50%;
                                right: -6px;
                                transform: translateY(-1px);
                            }
                        }

                        .tags_location {
                            margin-left: 16px;
                            font-size: 16px;
                        }
                    }

                    .down {
                        p {
                            padding-right: 90px;
                            font-size: 14px;
                            line-height: 28px;
                            color: #222222;
                        }
                    }
                }
            }

            .evaluate {
                width: 25%;
                padding: 20px 10px 10px 20px;

                .text {

                    padding-bottom: 3px;
                    margin-bottom: 11px;
                    white-space: nowrap;

                    display: flex;
                    justify-content: space-between;

                    .i1 {
                        background: url(../images/响应时间.png) no-repeat center center;
                        background-size: cover;
                    }

                    .i2 {
                        background: url(../images/实名认证.png) no-repeat center center;
                        background-size: cover;
                    }

                    .i3 {
                        background: url(../images/好评.png) no-repeat center center;
                        background-size: cover;
                    }

                    span {
                        color: #777777;
                    }

                    .left {

                        display: flex;
                        margin-right: auto;


                        i {
                            margin-right: 10px;
                            width: 20px;
                            height: 20px;
                            background-color: orange;
                        }
                    }
                }

                .evaluate_star .right span {

                    i {
                        font-style: normal;
                    }

                    .lighten {
                        color: #c0a75e;
                    }

                }
            }
        }
    }

    .infoMenuBox {
        width: 100%;

        .infoMenu {

            margin-bottom: 16px;
            border-bottom: 2px solid #222222;
            font-size: 18px;

            display: flex;
            justify-content: space-between;

            .leftMenu,
            .rightMenu {
                display: flex;
            }

            a {
                padding: 14px;
                color: #999999;

                &:hover {
                    color: #222222;
                }
            }

            .active {
                font-weight: bold;
                color: #222222;
            }
        }
    }

    .worksListBox {

        width: 100%;

        .worksList {
            display: flex;
            flex-wrap: wrap;

            .work {
                margin: 12.25px 20px 12.25px 0;
                width: calc(25% - 15px);
                background-color: #ffffff;
                transition: 0.5s;
                cursor: pointer;

                display: flex;
                flex-direction: column;

                &:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 2px 2px 2px #f0f0f0;
                }

                a {
                    width: 100%;

                    img {
                        width: 100%;
                    }
                }

                .content_title {
                    padding: 14px;
                    text-align: center;
                    font-weight: bold;
                }

                .content_price {
                    padding: 10px 14px 40px 14px;
                    text-align: center;
                    font-size: 18px;

                    position: relative;

                    &::before {
                        content: '';
                        display: block;
                        width: 80px;
                        height: 1px;
                        background-color: #999999;
                        position: absolute;
                        top: 0px;
                        left: 50%;
                        transform: translateX(-50%);
                    }
                }
            }

            & :nth-child(4n) {
                margin-right: 0;
            }

            ;
        }
    }

    .originWorksListBox {

        width: 100%;

        .originWorksList {
            display: none;
            flex-wrap: wrap;

            .originWork {
                margin: 12.25px 20px 12.25px 0;
                width: calc(25% - 15px);
                background-color: #ffffff;
                transition: 0.5s;
                cursor: pointer;

                display: flex;
                flex-direction: column;

                &:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 2px 2px 2px #f0f0f0;
                }

                a {
                    width: 100%;

                    img {
                        width: 100%;
                    }
                }

                .title_content {
                    margin-bottom: 20px;
                    padding: 14px;
                    text-align: center;
                    font-weight: bold;
                }

                .extra_content {
                    margin-top: 20px;
                    padding: 10px 14px 40px 14px;
                    text-align: center;
                    font-size: 12px;
                    color: #999999;

                    position: relative;

                    &::before {
                        content: '';
                        display: block;
                        width: 60px;
                        height: 1px;
                        background-color: #999999;
                        position: absolute;
                        top: -15px;
                        left: 50%;
                        transform: translateX(-50%);
                    }
                }
            }

            & :nth-child(4n) {
                margin-right: 0;
            }
        }
    }

    .personDataBox {

        width: 100%;

        .personData {

            box-sizing: border-box;
            padding: 20px 30px;
            color: #777777;
            background-color: #ffffff;

            display: none;
            flex-direction: column;

            .personText {
                display: flex;
                padding: 3px 0;
                margin-bottom: 30px;

                label {
                    width: 15%;
                    margin-right: 30px;
                    text-align: right;
                }

                p {
                    flex: 1;
                    line-height: 25px;
                }
            }
        }
    }

    .footerBox {
        margin-top: 20px;
        width: 100%;
        background-color: #333333;

        .footer {
            // margin-top: 20px;
            box-sizing: border-box;
            height: 336px;
            background-color: #333333;

            display: flex;
            flex-direction: column;
            justify-content: center;

            h2 {
                margin-bottom: 26px;
                color: #999999;
            }

            .four_column_row {
                display: flex;

                .column {
                    flex: 1;

                    .title {
                        color: #999999;
                    }

                    .link_list {
                        margin-top: 26px;
                        line-height: 36px;

                        display: flex;
                        flex-direction: column;

                        a {
                            font-size: 15px;
                            color: #dddddd;
                        }
                    }
                }
            }
        }
    }
}